package service;

import javax.jws.WebService;


@WebService(targetNamespace="http://infosys.tuwien.ac.at/ait08/ass1/dto/notification",
    portName="NotificationPT", serviceName="NotificationService")
public class SMSService implements INotificationService{
    
    
    public SMSService(){

    }
    
    @Override
    public boolean notify_customer(Customer customer, String message) {
        System.out.println("SMS customer notification triggered!");

        return (Math.random() < 0.5);
    }
    
}
